package com.woniu.repaircenter.models.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@ApiModel(value = "更新维修类别表单")
public class UpdateRepairCategoryForm {
    /**
     * 维修类别ID
     */
    @ApiModelProperty(value = "维修类别ID")
    private Integer repairCategoryId;
    /**
     * 维修类别名称
     */
    @ApiModelProperty(value = "维修类别名称")
    @Size(min = 1, max = 10, message = "维修类别名称长度必须在1到10之间")
    private String categoryName;

}
